using System;
using UnityEngine;

namespace MaterialUI
{
	public class Snackbar : Toast
	{
		private string m_ActionName;

		private Action m_OnActionButtonClicked;

		public string actionName
		{
			get
			{
				return m_ActionName;
			}
			set
			{
				m_ActionName = value;
			}
		}

		public Action onActionButtonClicked
		{
			get
			{
				return m_OnActionButtonClicked;
			}
			set
			{
				m_OnActionButtonClicked = value;
			}
		}

		public Snackbar(string content, float duration, Color panelColor, Color textColor, int fontSize, string actionName, Action onActionButtonClicked)
			: base(content, duration, panelColor, textColor, fontSize)
		{
			m_ActionName = actionName;
			m_OnActionButtonClicked = onActionButtonClicked;
		}
	}
}
